package com.homer.iot.esptouch.model;

import com.homer.iot.esptouch.tcp.UartTCPUtil;

public class HumiditySensor extends Slaver{
	public HumiditySensor(String id, String type) {
		super(id, type);		
	}
	
	public  int getHumidity(){
		return UartTCPUtil.getHumidity(device.getDeviceIP());
	}
}